<template>
	<view>
		<view>
			<view class="">
				<view class="m-h1" style="text-align: center;">
					申请开票
				</view>
				<view class="" @tap="toBack()">
					<image class="nav-margin-back-img" src="../../static/back.png" mode="widthFix"></image>
				</view>
			</view>	
			
			<view class="">
				<view class="content" style="display: flex;justify-content: flex-start;margin-top: 80rpx;">
					<view class="" style="padding-right: 10rpx;">
						<image style="width: 192rpx;height: 185rpx;" src="https://emos-lei.oss-cn-beijing.aliyuncs.com/v2/img/order-list-block.png" mode=""></image>
					</view>
					<view class="" style="padding-top: 30rpx;">
						<view class="t-font-1" style="padding-bottom: 30rpx;">
							订单编号 38293294230482930
						</view>
						<view class="">
							<text class="t-font-2">开票金额</text>
							<text class="t-font-3">¥3892.12</text>
						</view>
					</view>
					
				</view>
				
				<view class="t-bg-1"></view>
				
				<view class="content" style="display: flex;justify-content: space-between;padding: 20rpx 0;">
					<view  class="t-font-4">
						发票类型
					</view>
					<view class="">
						<text class="t-font-5">增值税纸质普通发票</text>
						<image style="width: 28rpx;height: 28rpx;" src="../../static/next.png" mode="widthFix"></image>
					</view>
				</view >
				<view class="t-bg-2">
					
				</view>
				
				<view class="content" style="display: flex;justify-content: space-between;padding: 20rpx 0;">
					<view class="t-font-4">
						发票抬头
					</view>
					<view class="">
						<view> 
						    <label @tap="checke1=!checke1" class="radio"><radio value="r1" :checked="checke1" /> <text class="t-font-7">个人或事业单位</text></label>
						    <label @tap="checke2=!checke2" class="radio" style="margin-left: 20rpx;" ><radio value="r2" :checked="checke2"  /><text class="t-font-7">企业</text></label>
						</view>
					</view>
				</view >
				<view class="t-bg-2"></view>
				
				<view class="content" style="display: flex;justify-content: space-between;padding: 20rpx 0;">
					<view  class="t-font-4">
						发票抬头
					</view>
					<view class="">
						<input class="t-font-6" type="text" value="" placeholder="需要开具发票的企业名称" />
					</view>
				</view >
				<view class="t-bg-2"></view>
				
				<view class="content" style="display: flex;justify-content: space-between;padding: 20rpx 0;">
					<view  class="t-font-4">
						税号
					</view>
					<view class="">
						<input class="t-font-6" type="text" value="" placeholder="纳税人识别号" />
					</view>
				</view >
				<view class="t-bg-2"></view>
				
				<view class="content" style="display: flex;justify-content: space-between;padding: 20rpx 0;">
					<view  class="t-font-4" style="position: relative;top: 20rpx;">
						设置为默认抬头
					</view>
					<view class="">
						 <switch checked @change="switch1Change" />
					</view>
				</view >
				<view class="t-bg-2"></view>
				
				
				<view class="o-bottom" style="display: flex;justify-content: center;">
					<button type="default" style="width: 654rpx;height: 80rpx;background-color: #1B4098;">
						<text class="t-font-8" style="position: relative;top: -5rpx;">提交申请</text>
					</button>
					
				</view>
				
				
				
			</view>
			
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				checke1:'false',
				checke2:'false',
			}
		},
		methods: {
			toBack:function(){
				console.log(1)
				uni.navigateBack({
					delta: 1 //返回上一级页面
				})
			},
		}
	}
</script>

<style scoped lang="less">
@import url("ticket.less");
@import url("../../style.less");
</style>
